﻿@model IEnumerable<WeberTimeTracker.Models.PeriodHours>

<table>
    <tr>
        <th>
            First Name
        </th>
        <th>
            Last Name
        </th>
        <th>
            Project Name
        </th>
        <th>
            Hours
        </th>
        <th>
            Rate
        </th>
        <th>
            PTO Hours Submitted
        </th>
        <th>
            Pay
        </th>
        <th>
            Paid
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.First_Name)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Last_Name)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Project_Name)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Hours)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Rate)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.PtoHoursSubmitted)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Pay)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Paid)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id = item.User_ID, project = item.Project_Name, startDate = ViewBag.StartDate, endDate = ViewBag.EndDate})
        </td>
    </tr>
	
	
}

</table>
